package com.ruoyi.system.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 用户佣金记录视图对象 p_user_brokerage_record
 *
 * @author ruoyi
 * @date 2022-07-26
 */
@Data
@ApiModel("用户佣金记录视图对象")
@ExcelIgnoreUnannotated
public class PUserBrokerageRecordVo {

    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @ExcelProperty(value = "记录id")
    @ApiModelProperty("记录id")
    private Long id;

    /**
     * 用户uid
     */
    @ExcelProperty(value = "用户uid")
    @ApiModelProperty("用户uid")
    private Long uid;

    /**
     * 咨询订单id
     */
    @ExcelProperty(value = "咨询订单id")
    @ApiModelProperty("咨询订单id")
    private Long orderId;

    /**
     * 0 收入 1 支出
     */
    @ExcelProperty(value = "0 收入 1 支出", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "bill_type")
    @ApiModelProperty("0 收入 1 支出")
    private String type;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    @ApiModelProperty("标题")
    private String title;

    /**
     * 佣金
     */
    @ExcelProperty(value = "佣金")
    @ApiModelProperty("佣金")
    private BigDecimal price;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    @ApiModelProperty("备注")
    private String mark;

    /**
     * 分销等级
     */
    @ExcelProperty(value = "分销等级")
    @ApiModelProperty("分销等级")
    private Integer brokerageLevel;


}
